package com.hightemperator.dao;

import com.hightemperator.po.SysUserAttention;
import com.hightemperator.po.SysUserAttentionExample;
import org.apache.ibatis.annotations.Param;

import javax.persistence.criteria.CriteriaBuilder;
import java.util.List;
import java.util.Map;

public interface SysUserAttentionMapper {
    long countByExample(SysUserAttentionExample example);

    int deleteByExample(SysUserAttentionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysUserAttention record);

    int insertSelective(SysUserAttention record);

    List<SysUserAttention> selectByExample(SysUserAttentionExample example);

    SysUserAttention selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysUserAttention record, @Param("example") SysUserAttentionExample example);

    int updateByExample(@Param("record") SysUserAttention record, @Param("example") SysUserAttentionExample example);

    int updateByPrimaryKeySelective(SysUserAttention record);

    int updateByPrimaryKey(SysUserAttention record);

    List<SysUserAttention> getEachOtherAttention(@Param("uId") Integer uId);

    int getAttention(Map<String, Object> param);
}